package com.newcapec.shuttle.manager.web;


import com.newcapec.shuttle.manager.entity.ElcNotice;
import com.newcapec.shuttle.manager.service.IElcNoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import java.util.List;


/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author jobob
 * @since 2020-11-15
 */
@Controller
public class ElcNoticeController {

    @Autowired
    private IElcNoticeService elcBlacklistService;




    public void queryall(){

     List<ElcNotice> list= elcBlacklistService.list();


        for (ElcNotice elcNotice: list
             ) {
            System.out.println(elcNotice);
        }

    }



}

